package com.hp.gxw.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangping
 * @since 2023-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProcessPriceProduce implements Serializable {

    private static final long serialVersionUID=1L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;

    /**
     * 客户
     */
    private String customerId;

    /**
     * 产品
     */
    private String productId;

    /**
     * 类型
     */
    private String type;

    /**
     * 计价方式
     */
    private String pricingMethod;

    /**
     * 生产工序
     */
    private String produceProcessCode;

    /**
     * 生产工序价格
     */
    private BigDecimal producePrice;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;


}
